package com.shop.cereshop.commons.domain.buyer;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("cere_buyer_relationship")
public class CereBuyerRelationship {

    /**
     * id
     */
    @TableId(value = "user_relationship_id", type = IdType.AUTO)
    private Long userRelationShipId;

    /**
     * 发布帖子用户id(被关注者用户id)
     */
    @TableField("publish_post_user_id")
    private Long publishPostUserId;

    /**
     * 关注者用户id
     */
    @TableField("concern_id")
    private Long concernId;

    /**
     * 关注状态,1-是, 0-否
     */
    @TableField("concern_status")
    private Integer concernStatus;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time")
    private LocalDateTime updateTime;
}
